package com.hs.auth.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hs.auth.dao.IPowerDao;
import com.hs.auth.service.IPowerService;
import com.hs.core.dao.IBaseDao;
import com.hs.core.service.impl.BaseSevice;
import com.hs.core.utils.PageParam;
import com.hs.core.utils.PageUtil;
@Service 
public class PowerService  extends BaseSevice implements IPowerService{ 
	private IPowerDao powerDao;
	@Override
	public IBaseDao getBaseDao() {
		// TODO Auto-generated method stub
		return powerDao;
	}
	@Autowired
	public void setOrgDao(IPowerDao powerDao) {
		this.powerDao = powerDao;
	}

	public PageUtil getPowerList(PageParam pageParam){
		return this.powerDao.getPowerList(pageParam);
	}
}
